package com.probox.common.entity.service.customer;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.probox.common.entity.domain.customer.CustomerOperation;
import com.probox.common.entity.vo.customer.CustomerOperationVo;

/**
 * 客户运营Service接口
 *
 * @author usoft
 * @date 2021-07-23
 */
public interface ICustomerOperationService extends IService<CustomerOperation> {


        /**
         * 查询客户运营
         *
         * @param operationUid 客户运营ID
         * @return 客户运营
         */
        public CustomerOperationVo selectCustomerOperationById(Long operationUid);


        /**
         * 查询客户运营列表
         *
         * @param customerOperation 客户运营
         * @return 客户运营集合
         */
        public List<CustomerOperation> queryList(CustomerOperation customerOperation);


        /**
         * 新增客户运营
         *
         * @param customerOperationVo 客户运营
         * @return 结果
         */
        public boolean insertCustomerOperation(CustomerOperationVo customerOperationVo);

        /**
         * 修改客户运营
         *
         * @param customerOperation 客户运营
         * @return 结果
         */
        public boolean updateCustomerOperation(CustomerOperationVo customerOperationVo);

        /**
         * 批量删除客户运营
         *
         * @param operationUids 需要删除的客户运营ID
         * @return 结果
         */
        public boolean deleteCustomerOperationByIds(Long[] operationUids);


        /**
         * 处理新增客户运营消息
         */
        public boolean consumptionOpearationMsg(Long operationUid);

        //发放优惠券发送通知
        public void sendCouponNotification(Long couponId,String couponNumber,List<Long> groupCustomer);
}
